using System;

namespace WebAPI
{
    public class WeatherForecast
    {
        public DateTime Date { get; set; }

        public int TemperatureC { get; set; }

        public int TemperatureF => 32 + (int)(TemperatureC / 0.5556);

        public string Summary { get; set; }
    }



    public class RequestOrder
    {
        public int orderID { get; set; }
    }


    public class OrderResponse
    {
        public int orderID { get; set; }
        public string productName { get; set; }
        public string customer { get; set; }
        public double productPrice { get; set; }
    }

    public class OrderAddRequest
    {
        public int orderID { get; set; }
        public string productName { get; set; }
        public string customer { get; set; }
        public double productPrice { get; set; }
        public bool isModify { get; set; }

    }

    public class OrderAddResponse
    {
        public string status { get; set; }
        public int orderID { get; set; }
        public string message { get; set; }
    }

    public class OrderDeleteResponse
    {
        public string status { get; set; }
        public int orderID { get; set; }
        public string message { get; set; }

    }


    public class OrderDeleteRequest
    {
        public int orderID { get; set; }
    }

}
